<!DOCTYPE html>
<html lang="ko">
<head>
	<meta charset="UTF-8">
	<title>Predefined Variables</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- Bootstrap -->
	<link href="../css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
	<?php # Script 1.5 - predefined.php
	
	// Create a shorthand version of the variable names:
	$file = $_SERVER['SCRIPT_FILENAME'];
	$user = $_SERVER['HTTP_USER_AGENT'];
	$server = $_SERVER['SERVER_SOFTWARE'];

	// Print the name of this script:
	echo "<p>You are running the file:<br/><b>$file</b>.</p>\n";

	// Print the user's information:
	echo "<p>You are viewing this page using:<br/><b>$user</b>.</p>\n";

	// Print the server's information:
	echo "<p>This server is running:<br/><b>$server</b>.</p>\n";

	?>
	<script src="http://code.jquery.com/jquery.js"></script>
	<script src="../js/bootstrap.min.js"></script>
</body>
</html>